package com.tamo.ppresta.httpapi;

import androidx.annotation.NonNull;

import com.hjq.http.config.IRequestApi;
import com.tamo.ppresta.constant.API_CONSTANT;

import org.jetbrains.annotations.NotNull;

/**
 * @author yeyang
 * @name ppresta
 * @class name：com.tamo.ppresta.httpapi
 * @class describe
 * @time 2022/12/31 19:44
 * @change
 * @chang time
 * @class describe
 */
public class CheckAppVersionApi implements IRequestApi {
    @NonNull
    @NotNull
    @Override
    public String getApi() {
        return API_CONSTANT.CHECK_APP_VERSION;
    }

    private String itemCode;
    private String languageCode;
    private String appVersion;
    private String appOsType;

    public CheckAppVersionApi setItemCode(String itemCode) {
        this.itemCode = itemCode;
        return this;
    }

    public CheckAppVersionApi setLanguageCode(String languageCode) {
        this.languageCode = languageCode;
        return this;
    }

    public CheckAppVersionApi setAppVersion(String appVersion) {
        this.appVersion = appVersion;
        return this;
    }

    public CheckAppVersionApi setAppOsType(String appOsType) {
        this.appOsType = appOsType;
        return this;
    }
}